package com.xiguaji.tiktok;

import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@NacosPropertySource(dataId = "tiktok-web.properties",autoRefreshed = true)
@ComponentScan("com.xiguaji.tiktok.**")
@Import(com.xiguaji.tiktok.config.RedisConfig.class)
public class TiktokApplication {

    public static void main(String[] args) {
        SpringApplication.run(TiktokApplication.class, args);
    }

}
